package com.itheima.sh.f_array_06;

public class Demo04 {
    public static void main(String[] args) {
        double [] arr={100,60,50,88,66,79,99,100,62,15,48,65,98,99,5,59.5,75};
        int count=0;
        for (int i = 0; i < arr.length; i++) {
            if (arr[i]>60){
                count++;
            }
        }
        System.out.println("该班级及格人数为："+ count);
    }
}
